<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String id = (String)request.getParameter("id");
String mode = (String)request.getParameter("mode");
String action = null;
String tabelName = null;
if("EAGLE".equalsIgnoreCase(mode)){
	action = basePath+"signup.crm?method=modify";
	tabelName = "signup";
}else if("818".equalsIgnoreCase(mode)){
	action = basePath+"childs.crm?method=modify";
	tabelName = "childs";
}else if("MIND".equalsIgnoreCase(mode)){
	action = basePath+"mind.crm?method=modify";
	tabelName = "mindPic";
}else if("MONEY".equalsIgnoreCase(mode)){
	action = basePath+"money.crm?method=modify";
	tabelName = "moneyInfo";
}else if("SWDT".equalsIgnoreCase(mode)){
	action = basePath+"swdt.crm?method=modify";
	tabelName = "swdt";
}else if("NAC".equalsIgnoreCase(mode)){
	action = basePath+"nac.crm?method=modify";
	tabelName = "nac";
}else if("NACPX".equalsIgnoreCase(mode)){
	action = basePath+"nacpx.crm?method=modify";
	tabelName = "nacpx";
}else if("MMORDER".equalsIgnoreCase(mode)){
	action = basePath+"order.crm?method=modify";
	tabelName = "mmorder";
}else if("YYUSER".equalsIgnoreCase(mode)){
	action = basePath+"yy.crm?method=modify";
	tabelName = "yyuser";
}else if("CUSTOMER".equalsIgnoreCase(mode)){
	action = basePath+"customer.crm?method=modifyMemo";
	tabelName = "customer";
}

String memo = new org.yoao.crm.dao.SignupDAO().findMemo(tabelName, id);
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>备注</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<jsp:include page="../public/publicJs.jsp" flush="false"></jsp:include>
<script language="javascript">

</script>
</head>
<body text="#000000" bgcolor="#FFFFFF" TOPMARGIN="0" LEFTMARGIN="0"	style="overflow-y:hidden;border:1px solid #8DB2E3;">
<form action="<%=action%>" method="post" name="form1">
<input type="hidden" name="id" id="id" value="<%=id%>"/>
<table class="title_top" width=100% align=center border="0" cellspacing="0" cellpadding="0">
	<tr valign="top" class="tree_title_txt">
		<td class="tree_title_txt" width=100% height=26 align=center valign="middle">备注</td>
	</tr>
	<tr valign="top">
	<td>
<div class="tabBody" style="margin:12px;padding:12px;height:240px">
	<textarea name="memo" style="width:100%;height:98%"><%=memo!=null?memo:""%></textarea>
</div>
<div style="margin:12px" align="right">
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
	<td id="btnCancel" valign="middle" align="right" width="50%">
		<input name="buo" type="submit" value="保存" class="btn3_mouseout" style="margin-right:0px">
    </td>
	<td id="btnCancel" valign="middle" align="left" width="50%">
		&nbsp;&nbsp;<button onClick="window.close()" class="btn3_mouseout">关闭</button>
	</td>
</tr>
</table>
</div>
</td></tr>
</table>
</form>
</body>
</html>